About RSCalculator

Description

RSCalculator is a lightweight 32-bit ActiveX control that provides dropdown calculator widget. RSCalculator looks like a combobox but when the user click down arrow or press plus/minus/divide/multiply buttons it shows dropdown calculator window ready to perform calculations. When the user complete calculations the result is transfered to the control's edit box.

Features

- Truly lightweight ActiveX control (less than 130k).

- User-friendly interface to work with numbers.

- Handles divide by zero, overflow and underflow errors.

- Bindable to data source.

- Can be fully customized through properties.

- Requires no external DLL's for easier deployment and eliminates potential DLL conflicts.


ForeColor

Description

Sets or returns the foreground text color used in edit box.Default is the sytem's defined Text color.

Data Type

OLEColor – Hexadecimal number representing the RGB value of the color.

See Also

BackColor


BackColor

Description

Sets or returns the background color of the edit box.Default is the sytem's defined window background color (usually white).

Data Type

OLEColor – Hexadecimal number representing the RGB value of the color.

See Also

ForeColor


Appearance

Description

Returns or sets the paint style of control on Form or parent window.

Data Type

Integer.

Can be 0 for Flat style or 1 to draws control with three-dimensional effects.


Font

Description

Returns/sets the font of edit box.

Data Type

Font object.

See Also

rsCalcButtonFont	rsDisplayFont


Enabled

Description

Returns or sets a value that determines whether a control can respond to user-generated events. The Enabled property allows controls to be enabled or disabled at run time. For example, you can disable objects that don't apply to the current state of the application.

Data Type

Boolean


Alignment

Description

Returns or sets a value that determines the alignment of text in a control. Read-only at run-time.

Data Type

Can be one of following:

Constant	Setting	Description

rsLeftJustify	0	(Default) Text is left-aligned.

rsRightJustify	1	Text is right-aligned.

rsCenter	2	Text is centered.


Text

Description

Returns or sets the text contained in the edit area.

Data Type

Text


rsCalcButtonFont

Description

Returns/sets the font of the calculator's buttons.

Data Type

Font object.

See Also

Font	rsDisplayFont


rsDisplayFont

Description

Returns/sets the font of the calculator's display.

Data Type

Font object.

See Also

Font	rsCalcButtonFont


rsDisplayBackColor

Description

Sets or returns the background color of the calculator's display box. Default is the sytem's defined window background color (usually white).

Data Type

OLEColor – Hexadecimal number representing the RGB value of the color.

See Also

rsDisplayColor


rsDisplayColor

Description

Sets or returns the foreground text color used in the calculator's display. Default is the sytem's defined Text color.

Data Type

OLEColor – Hexadecimal number representing the RGB value of the color.

See Also

rsDisplayBackColor


rsDivideErrorText

Description

Returns or sets the text displayed when divide by zero error occur.

Data Type

Text


rsOverflowErrorText

Description

Returns or sets the text displayed when overflow error occur.

Data Type

Text

See also

rsDivideErrorText	rsUnderflowErrorText


rsUnderflowErrorText

Description

Returns or sets the text displayed when underflow error occur.

Data Type

Text

See also

rsDivideErrorText	rsOverflowErrorText


rsNumberBtnColor

Description

Sets or returns the foreground text color of numeric buttons on the dropdown calculator.

Data Type

OLEColor – Hexadecimal number representing the RGB value of the color.

See Also

rsClearBtnColor

rsFunctionalBtnColor

rsMemoryBtnColor

rsMemoryIndicatorColor

rsOperatorBtnColor


rsMemoryBtnColor

Description

Sets or returns the foreground text color of memory operations buttons on the dropdown calculator.

Data Type

OLEColor – Hexadecimal number representing the RGB value of the color.

See Also

rsClearBtnColor

rsFunctionalBtnColor

rsNumberBtnColor

rsOperatorBtnColor

rsMemoryIndicatorColor


rsClearBtnColor

Description

Sets or returns the foreground text color of <CE>,<C> and <Back> buttons on the dropdown calculator.

Data Type

OLEColor – Hexadecimal number representing the RGB value of the color.

See Also

rsFunctionalBtnColor

rsMemoryBtnColor

rsMemoryIndicatorColor

rsNumberBtnColor

rsOperatorBtnColor


rsFunctionalBtnColor

Description

Sets or returns the foreground text color of <%> and <1/x> buttons on the dropdown calculator.

Data Type

OLEColor – Hexadecimal number representing the RGB value of the color.

See Also

rsClearBtnColor

rsMemoryBtnColor

rsNumberBtnColor

rsMemoryIndicatorColor

rsOperatorBtnColor


rsOperatorBtnColor

Description

Sets or returns the foreground text color of  Plus, Minus, Multiply and Divide buttons on the dropdown calculator.

Data Type

OLEColor – Hexadecimal number representing the RGB value of the color.

See Also

rsNumberBtnColor

rsMemoryIndicatorColor

rsFunctionalBtnColor

rsMemoryBtnColor

rsClearBtnColor


rsMemoryIndicatorColor

Description

Sets or returns the foreground text color of top left button on the dropdown calculator used to indicate that a value stored in memory.

Data Type

OLEColor – Hexadecimal number representing the RGB value of the color.

See Also


Change Event

Indicates the contents of a control have changed.


License Agreement

The product in this package (libraries and object code) is proprietary to Rise Software, Ltd.  and is protected by US and International Copyright Laws.  Rise Software retains the title to and ownership of the Product.  You are licensed to use this Product on the following terms and conditions:

LICENSE - The licensee is defined as the individual  software developer utilizing the Product.  This license is not for an entire company but for a single developer.  Rise Software hereby grants the licensee a nonexclusive license authorizing the licensee to use the enclosed Product on one computer at a time for development purposes. The licensee is also permitted to distribute this product to one, and only one web server to host the ActiveX control.  Please contact Rise Software if you require additional licenses.  You may incorporate the sample code into your applications.  Use of this product by more than one individual or by anyone other than the licensee terminates, without notification, this license and the right to use this product.

YOU MAY NOT:  Distribute, rent, sub-license or otherwise make available to others the software or documentation or copies thereof, except as expressly permitted in this License without prior written consent from Rise Software.  In the case of an authorized transfer, the transferee must agree to be bound by the terms and conditions of this License Agreement.

RESTRICTIONS: - You may use this Product in your business application for sale or distribution as long as:

The product that you produce and/or distribute is NOT a software development product, a product that is sold primarily to software developers or system integrators or a development environment of any kind.  Please contact Rise Software, Ltd. for special commercial licensing provisions in these circumstances.

The software serial number and user must be registered with Rise Software in order to receive support or distribution rights.

You may not remove any proprietary notices, labels, trademarks on the software or documentation.

You may not modify, decompile, disassemble, reverse engineer or translate the software.

FILES THAT MAY BE DISTRIBUTED WITH YOUR APPLICATION:

RSCalc.ocx

TERM - You may terminate your License and this Agreement at anytime by destroying all copies of the Product and Product Documentation.  They will also terminate automatically if you fail to comply with any term or condition in this Agreement.

LIMITED WARRANTY - This software and documentation are sold "as is" without any warranty as to their performance, merchantability or fitness for any particular purpose.  The entire risk as to the quality and performance of the software is assumed by the licensee.  In no event shall Rise Software or anyone else who has been involved in the creation, development, production, or delivery of this software be liable for any direct, incidental or consequential damages, such as, but not limited to, loss of anticipated profits, benefits, use, or data resulting from the use of this software, or arising out of any breach of warranty.


System Requirements

Windows95 or Windows NT development environment that support ActiveX controls.


Technical Support

If you are having problems using the RSCalculator ActiveX, please make sure that the control was registered by the installation program. If not, use the RegSvr32.exe program to register the RSCalc.ocx file. The REGSVR32.EXE is included with your development environment. If the problem is not fixed please contact our technical support staff. We provide technical support via e-mail only. Please send your questions to support@risesoft.com. Note: please include a complete description of the problem and  the version of RSCalculator that you are using.

We welcome suggestions

We at Rise Software welcome your suggestions for improving RSCalculator control. Please email your suggestions to info@risesoft.com.

Please visit our web site at www.risesoft.com .


rsDropArrowPicture

Returns/Sets the picture used as custom "drop-down button" to replace standard combo-box down arrow in the right side of the control.

Data Type

Picture.